<%
 /****
  * Generic_ShortcutsBar.jsp
  * This file includes the default content of the shorcuts bar section.
  * This consist on the toolbar link, a search box, and logout and help links.
  *
  * Copyright 2004 MicroStrategy Incorporated. All rights reserved.
  * version: 1.2
  * xhtml: true
  ****/
%><%@ page errorPage="JSP_Error.jsp"
%><%@ page contentType="text/html; charset=UTF-8"
%><%@ taglib uri="/webUtilTL.tld" prefix="web"
%>
<web:ifFeature type="systemPreference" name="showOfficeLink"><web:then>
<web:ifFeature type="misc" name="officeSetup"><web:then>
<span class="mstrShortcut"><a <web:value type="misc" name="officeSetup" attribute="href"/> target="_blank"><web:descriptor key="mstrWeb.3847" desc="Install MicroStrategy Office" /></a></span>
</web:then></web:ifFeature>
</web:then></web:ifFeature>
<%--
 Display a URL pointing to eTrainer.
--%>
<%@include file='/jsp/eTrainer_Section.jsp' %>
<span class="mstrShortcut"><web:resource type="helpAdmin"/></span>
<%--
	Render the logout link if the user has already a session or the 'Login first'
	preference has been set and the use session is not shared with portlet.
--%>
<web:ifFeature name="is-portlet"><web:then></web:then><web:else>
<web:ifConnectionValue><web:then>
<span class="mstrShortcut"><web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventLogout"><web:descriptor key="mstrWeb.8" desc="Logout" /></web:urlEvent></span>
</web:then><web:else><web:ifConnectionValue property="loginFirst"><web:then>
<span class="mstrShortcut"><web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventLogout"><web:descriptor key="mstrWeb.8" desc="Logout" /></web:urlEvent></span>
</web:then></web:ifConnectionValue></web:else></web:ifConnectionValue>
</web:else></web:ifFeature>

<%@include file='/jsp/serverAdmin/Server_Logo_Small.jsp' %>